package com.example.config;

import com.example.consts.RbmConst;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;



/**
 * @Description //TODO
 * @Date 2022/9/21 10:56
 * @Author cxy
 **/
@Configuration
public class RbmConfig {
    @Bean
    public Queue queue(){
        return new Queue(RbmConst.SIMPLE_SEC_QUEUE);
    }
}
